ResourceNodeReader Class

ResourceNodeReader provides read-only access to a resource defined in a package manifest.

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public class ResourceNodeReader : IXPathNavigable

Properties
Name Description
Ð Dependencies

Returns the ReadOnlyCollection<ResourceNodeReader> containing the resources this resource is dependent upon.

Ð EntryPoint

The file that should be launched when this resource is activated.

Ð Files

Returns the ReadOnlyCollection<FileNodeReader> containing the <file> nodes within this <resource>.

Ð Id

Represents the <resource>/identifer attribute.

Ð Metadata

Return a reader of the resource level metadata.

Ð ResourceType

Represents the type of resource.

Ð XmlBase

Returns the complete xml:base associated with this item. "Complete" means that the xml:base is computed relative to the parent <resources> xml:base and its parent <manifest> xml:base.

Methods
Name Description
Ð CreateNavigator

Return the XPathNavigator for this resource.